ScriptCheck 4.1a2 fixes many of the bugs that are present in ScriptCheck 4.0.X. Since ScriptCheck 4.1a2 has not completed a full round of testing, but can find some errors that the released ScriptCheck cannot find, it is suggested that scriptwriters use ScriptCheck 4.1a2 to double-check the errors reported by ScriptCheck 4.0.3.
BUG FIXES & ENHANCEMENTS
• ScriptCheck warns about source files with odd creation dates.
In order to help preserve compatibility with NetWare-based networks, ScriptCheck warns if a source file has an odd creation date (instead of an even creation date).
• Extension file name can now be specified separately.
There are now three ways of specifying the scx file:
1) The old way: use the name of the script and append.scx
2) Use a new ScriptCheck param (-x) and give the scx path+filename
eg. 'Projects:scriptcheck.ppc' Example:theExample -x ":::InstaCompOne 1.0:InstaCompOneSCExt.rsrc" -h -d -a -p
3) Leave out the pathname for the scx file and ScriptCheck assumes its in the same directory as the script file.
eg. 'Projects:scriptcheck.ppc' Example -h -d -a -p -x theSCXFile.
• Errors now correctly refer to 'intf' or 'infs'.
Previously, ScriptCheck would refer to a problem with an 'infs' resource when actually it was an 'intf' resource.
• Better 'intf' and 'infs' path checking.
Errors in the target path string of 'intf' and 'infs' resources would cause problems for the Installer, so ScriptCheck now does a better job of verifying this path. Specifically, these errors are checked:
- Proper format of special-'XXXX' and folder-'XXXX' symbols.
- Target paths must start with a colon (':'), special-'XXXX' or folder-'XXXX'
- All filenames are no greater than 31 characters
- The path cannot contain '::'
• ScriptCheck now warns of inpk's which don't have any items.
'inpk' resources that don't have any items in there list are considered bogus, and ScriptCheck now warns of these.
• ScriptCheck command line now allows the target script pathname to 255 characters.
ScriptCheck previously couldn't handle a target script pathname greater than 64 characters. The path can now be 255 characters.
• Better checking of file atoms the only delete during installation.
If a file atom uses the flags deleteWhenInstalling & dontCopy, warns the user if a non-0 value has been entered for the source. This also solves a problem where ScriptCheck would crash if the source 'infs' ID was 0, but the file atom was only deleting.
• ScriptCheck now sets the MPW status variable correctly upon failing.
This will allow users to stop the build process if ScriptCheck found errors.
• ScriptCheck now catches dangling references in rule clauses.
If an 'intf' resource cannot be found, the following message is displayed: "# Error: 'intf' ID = 1835 referenced from 'inrl' ID = 1836 does not exist."
KNOWN BUGS
• Random crashes.
Since ScriptCheck 4.1a2 is still Alpha, you may experience a crash with certain scripts.